<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%--<h2 class="contentTitle">新增字典</h2> --%>
<div class="pageContent">
	<form method="post" action="dict_add.action"
		class="pageForm required-validate"
		onsubmit="return validateCallback(this, navTabAjaxDone);">
		<div class="pageFormContent nowrap" layoutH="50">
			<dl>
				<dt>
					<label>字典名称：</label>
				</dt>
				<input name="dicName" class="required" type="text"  />
			</dl>

			<dl>
				<dt>
					<label>字典编码：</label>
				</dt>
				<input name="dicCode" class="required" type="text"  />
			</dl>
			<dl>
				<dt>
					<label>类型名称：</label>
				</dt>
				<input type="text" class="required" name="model.dicTypeName"
					postField="dicTypeName"
					<%--进行代码提示时 已经输入的字 传到后台 一般进行 like 查找  poseField 设置的字段名称和action接收的属性名一直就行了的一样就可以了 --%>
						suggestFields="dicTypeCode,dicTypeName"
					<%--显示返回的字段 --%>
						suggestUrl="dict_suggest.action"
					<%--提交到后台action地址 --%>
						lookupGroup="model" />

				<%--
					<input type="text" 
						   class="required" 
						   name="orgLookup.orgName"
						   value="" 
						   suggestFields="orgNum,orgName"
						    suggestUrl="demo/database/db_lookupSuggest.html"
						   lookupGroup="orgLookup" /> 
				    <a class="btnLook" href="demo/database/dwzOrgLookup.html" lookupGroup="orgLookup">查找带回</a>
				    --%>
			</dl>
			<dl>
				<dt>
					<label>类型编码：</label>
				</dt>
				<input type="text" class="required" name="model.dicTypeCode"
					class="textInput">
			</dl>
		</div>

		<div class=formBar>
			<ul>
				<li><div class="buttonActive">
						<div class="buttonContent">
							<button type="submit">保存</button>
						</div>
					</div></li>
				<li><div class="button">
						<div class="buttonContent">
							<button type="button" class="close">取消</button>
						</div>
					</div></li>
			</ul>
		</div>
	</form>
</div>
